from django.conf.urls.defaults import patterns

urlpatterns = patterns('mmorganizer.events.views',
    (r'^list/', 'list_events'),
    (r'^create/', 'create_event'),
    (r'^detail/(?P<event_id>\d+)', 'detail_event'),
    (r'^available/(?P<event_id>\d+)', 'available'),
    (r'^unavailable/(?P<event_id>\d+)', 'unavailable'),
    (r'^substitute/(?P<event_id>\d+)/(?P<personnage_id>\d+)', 'substitute'),
    (r'^unsubstitute/(?P<event_id>\d+)/(?P<personnage_id>\d+)', 'unsubstitute'),
)
